<%@ page pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<jsp:include page="../common/top.jsp"></jsp:include>
<jsp:include page="../common/leftmenu.jsp"></jsp:include>
<div class="fr" style="width: 780px">
	<div class="box_title">
		<i class="fa fa-table"></i>服务地址管理
	</div>
	<div class="box-content nopadding">
		<form id="changePasswordForm"
			action="customer/help/user/userAddressSave" method="post">
			<div style="display: none">
				<input type="hidden" name="id" value="${addressModel.id }">
			</div>

			<table class="form-table">
				<tr>
					<td class="td1"><label>地址：</label></td>
					<td class="td2"><textarea id="address" 
						name="address" class="required">${addressModel.address }</textarea><span
						class="required-tip"><font color="red"> * </font><font
							color="blue">必填 </font> </span></td>
				</tr>
				
				<tr>
					<td class="td1"><label>设置为默认： </label></td>
					<td class="td2">
					   <input type="radio" name="are_df" checked="checked" value="1" id="are_df1"/><label for="are_df1">是</label>
					   <input type="radio" name="are_df" value="0" id="are_df0"/><label for="are_df0">否</label>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="text-align: center;padding:10px"><input
						id="submitBtn" class="nui-mainbtn BUTTON SUBMIT" type="button"
						onclick="save();"
						value="保存">
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>

<script type="text/javascript">
function save()
{
  $("#changePasswordForm").submit();
  return true;
}
</script>
<jsp:include page="../common/bottom.jsp"></jsp:include>